package com.itheima.mapper;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.itheima.entity.Message;

@Mapper
public interface MessageMapper {

    int deleteByPrimaryKey(Integer id);

    int insertSelective(Message record);

    Message selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Message record);

    /** 拉取消息记录列表 */
    List<Message> selectMessageList(String fromIdAndToId);

}